<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css">
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
<link rel="Start" href="index.html">
<link rel="next" href="Gears.html">
<link rel="Up" href="index.html">
<link title="Index of types" rel=Appendix href="index_types.html">
<link title="Index of exceptions" rel=Appendix href="index_exceptions.html">
<link title="Index of values" rel=Appendix href="index_values.html">
<link title="Index of class methods" rel=Appendix href="index_methods.html">
<link title="Index of class types" rel=Appendix href="index_class_types.html">
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Index of module types" rel=Appendix href="index_module_types.html">
<link title="Dom" rel="Chapter" href="Dom.html">
<link title="Gears" rel="Chapter" href="Gears.html">
<link title="Javascript" rel="Chapter" href="Javascript.html">
<link title="Jslib_ast" rel="Chapter" href="Jslib_ast.html">
<link title="Jslib_lexer" rel="Chapter" href="Jslib_lexer.html">
<link title="Jslib_parse" rel="Chapter" href="Jslib_parse.html">
<link title="Jslib_pp" rel="Chapter" href="Jslib_pp.html">
<link title="Lwt" rel="Chapter" href="Lwt.html">
<link title="Lwt_dom" rel="Chapter" href="Lwt_dom.html">
<link title="Lwt_mutex" rel="Chapter" href="Lwt_mutex.html">
<link title="Lwt_pool" rel="Chapter" href="Lwt_pool.html">
<link title="Lwt_timeout" rel="Chapter" href="Lwt_timeout.html">
<link title="Lwt_util" rel="Chapter" href="Lwt_util.html">
<link title="Mozilla" rel="Chapter" href="Mozilla.html">
<link title="Ocamljs" rel="Chapter" href="Ocamljs.html"><title>Dom</title>
</head>
<body>
<div class="navbar">&nbsp;<a href="index.html">Up</a>
&nbsp;<a href="Gears.html">Next</a>
</div>
<center><h1>Module <a href="type_Dom.html">Dom</a></h1></center>
<br>
<pre><span class="keyword">module</span> Dom: <code class="code">sig</code> <a href="Dom.html">..</a> <code class="code">end</code></pre>Browser DOM binding<br>
<hr width="100%">
<br>
<code class="code">Dom</code> is a partial binding of the browser DOM, taken from Dynamic
   HTML: The Definitive Reference, 3rd Ed. and from the DOM standards.<br>
<pre><span class="keyword">type</span> <a name="TYPEinterval_id"></a><code class="type"></code>interval_id </pre>

<pre><span class="keyword">type</span> <a name="TYPEtimeout_id"></a><code class="type"></code>timeout_id </pre>

<pre><span class="keyword">class type</span> <a name="TYPEnode"></a><a href="Dom.node.html">node</a> = <code class="code">object</code> <a href="Dom.node.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">class type</span> <a name="TYPEdocumentFragment"></a><a href="Dom.documentFragment.html">documentFragment</a> = <code class="code">object</code> <a href="Dom.documentFragment.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">class type</span> <a name="TYPEabstractView"></a><a href="Dom.abstractView.html">abstractView</a> = <code class="code">object</code> <a href="Dom.abstractView.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">class type</span> <a name="TYPEevent"></a><a href="Dom.event.html">event</a> = <code class="code">object</code> <a href="Dom.event.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">class type</span> <a name="TYPEuIEvent"></a><a href="Dom.uIEvent.html">uIEvent</a> = <code class="code">object</code> <a href="Dom.uIEvent.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">class type</span> <a name="TYPEkeyEvent"></a><a href="Dom.keyEvent.html">keyEvent</a> = <code class="code">object</code> <a href="Dom.keyEvent.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">class type</span> <a name="TYPEmouseEvent"></a><a href="Dom.mouseEvent.html">mouseEvent</a> = <code class="code">object</code> <a href="Dom.mouseEvent.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">class type</span> <a name="TYPEstyle"></a><a href="Dom.style.html">style</a> = <code class="code">object</code> <a href="Dom.style.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">class type</span> <a name="TYPEelement"></a><a href="Dom.element.html">element</a> = <code class="code">object</code> <a href="Dom.element.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">class type</span> <a name="TYPEanchor"></a><a href="Dom.anchor.html">anchor</a> = <code class="code">object</code> <a href="Dom.anchor.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">class type</span> <a name="TYPEcharacterData"></a><a href="Dom.characterData.html">characterData</a> = <code class="code">object</code> <a href="Dom.characterData.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">class type</span> <a name="TYPEtext"></a><a href="Dom.text.html">text</a> = <code class="code">object</code> <a href="Dom.text.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">class type</span> <a name="TYPElocation"></a><a href="Dom.location.html">location</a> = <code class="code">object</code> <a href="Dom.location.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">class type</span> <a name="TYPEwindow"></a><a href="Dom.window.html">window</a> = <code class="code">object</code> <a href="Dom.window.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">class type</span> <a name="TYPEbody"></a><a href="Dom.body.html">body</a> = <code class="code">object</code> <a href="Dom.body.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">class type</span> <a name="TYPEcssRule"></a><a href="Dom.cssRule.html">cssRule</a> = <code class="code">object</code> <a href="Dom.cssRule.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">class type</span> <a name="TYPEstyleSheet"></a><a href="Dom.styleSheet.html">styleSheet</a> = <code class="code">object</code> <a href="Dom.styleSheet.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">class type</span> <a name="TYPEdocument"></a><a href="Dom.document.html">document</a> = <code class="code">object</code> <a href="Dom.document.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">class type</span> <a name="TYPEform"></a><a href="Dom.form.html">form</a> = <code class="code">object</code> <a href="Dom.form.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">class type</span> <a name="TYPEbutton"></a><a href="Dom.button.html">button</a> = <code class="code">object</code> <a href="Dom.button.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">class type</span> <a name="TYPEinput"></a><a href="Dom.input.html">input</a> = <code class="code">object</code> <a href="Dom.input.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">class type</span> <a name="TYPEoption"></a><a href="Dom.option.html">option</a> = <code class="code">object</code> <a href="Dom.option.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">class type</span> <a name="TYPEselect"></a><a href="Dom.select.html">select</a> = <code class="code">object</code> <a href="Dom.select.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">class type</span> <a name="TYPEspan"></a><a href="Dom.span.html">span</a> = <code class="code">object</code> <a href="Dom.span.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">class type</span> <a name="TYPEimage"></a><a href="Dom.image.html">image</a> = <code class="code">object</code> <a href="Dom.image.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">class type</span> <a name="TYPEcanvas"></a><a href="Dom.canvas.html">canvas</a> = <code class="code">object</code> <a href="Dom.canvas.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">class type</span> <a name="TYPEcanvasRenderingContext2D"></a><a href="Dom.canvasRenderingContext2D.html">canvasRenderingContext2D</a> = <code class="code">object</code> <a href="Dom.canvasRenderingContext2D.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">class type</span> <a name="TYPEcanvasGradient"></a><a href="Dom.canvasGradient.html">canvasGradient</a> = <code class="code">object</code> <a href="Dom.canvasGradient.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">class type</span> <a name="TYPEcanvasPattern"></a><a href="Dom.canvasPattern.html">canvasPattern</a> = <code class="code">object</code> <a href="Dom.canvasPattern.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">class type</span> <a name="TYPEtextMetrics"></a><a href="Dom.textMetrics.html">textMetrics</a> = <code class="code">object</code> <a href="Dom.textMetrics.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">class type</span> <a name="TYPEimageData"></a><a href="Dom.imageData.html">imageData</a> = <code class="code">object</code> <a href="Dom.imageData.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">class type</span> <a name="TYPEcanvasPixelArray"></a><a href="Dom.canvasPixelArray.html">canvasPixelArray</a> = <code class="code">object</code> <a href="Dom.canvasPixelArray.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">class type</span> <a name="TYPExMLHttpRequest"></a><a href="Dom.xMLHttpRequest.html">xMLHttpRequest</a> = <code class="code">object</code> <a href="Dom.xMLHttpRequest.html">..</a> <code class="code">end</code></pre><pre><span class="keyword">val</span> <a name="VALnew_XMLHttpRequest"></a>new_XMLHttpRequest : <code class="type">unit -> <a href="Dom.xMLHttpRequest.html">xMLHttpRequest</a></code></pre><pre><span class="keyword">val</span> <a name="VALwindow"></a>window : <code class="type"><a href="Dom.window.html">window</a></code></pre><pre><span class="keyword">val</span> <a name="VALdocument"></a>document : <code class="type"><a href="Dom.document.html">document</a></code></pre></body></html>